package com.supply.dl.activity.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.supply.dl.R;
import com.supply.dl.widget.LoadTipFailedLayout;

public class MessageFragment extends ViewPagerFragment implements View.OnClickListener {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_message_layout, null);
    }

    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        //在这里初始UI组件
        loadTipFailedLayout = (LoadTipFailedLayout) findViewById(R.id.layout_load_failed);
        loadTipFailedLayout.setRestartOnClickListener(this);
        loadTipFailedLayout.setLoadText(getString(R.string.since_help_loading));
        loadTipFailedLayout.setNormalText(R.string.since_help_loading_finish);
        loadTipFailedLayout.setState(LoadTipFailedLayout.STATE_PROGRESS);
    }

    @Override
    public void onClick(View view) {
    }

}
